FROM ccr.ccs.tencentyun.com/eqxiu/jre8-agent5
## 该基础镜像支持SkyWalking agent5.0GA

RUN mkdir /app

COPY ./target/eqxiu-ieditor-msgconsumer-*.zip /app

RUN unzip /app/eqxiu-ieditor-msgconsumer-*.zip -d /app/

WORKDIR /app

#定义环境变量
ENV  TIME_ZONE Asiz/Shanghai
#dockerfile增加命令

#安装tzdata安装包
RUN  apk add --no-cache tzdata \
#设置时区
  && echo "Asiz/Shanghai" > /etc/timezone \
  && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

EXPOSE 20990

ENTRYPOINT  /entrypoint.sh;/bin/sh bin/boot.sh start 
